//
//  CSCommodityController.h
//  CarSalesMS_GCX
//
//  Created by Ssky on 2016/10/26.
//  Copyright © 2016年 Tony. All rights reserved.
//

#import "GXBaseViewController.h"

#import "TSaleInfoModel.h"
#import "TCommodityCategoryModel.h"


typedef void(^CallBackIsHaveCommodity)(BOOL isHaveCommdity);

@interface CSGXHomeSaleCommodityController : GXBaseViewController

///点击的分类栏的索引
@property(nonatomic, assign) NSInteger dataIndex; // test

@property (nonatomic, copy) NSString * warehouseNo; //warehouseNo

///商品编号（通过扫码获得的商品编号）
@property (nonatomic, copy) NSString * commodityNo;

/// saleModelList 数据源
@property (nonatomic, strong) NSArray<TSaleInfoModel *> * saleModelList;

/// tvFirst 数据 (only have caFirstType)
@property (nonatomic, strong) NSArray<TCommodityCategoryModel *> *commFirstModels;



/**
 类方法 实例化 CSGXCommodityController

 @param warehouseNo <#warehouseNo description#>
 @return <#return value description#>
 */
+ (instancetype)commodityVcWithWarehouseNo:(NSString *)warehouseNo;


@property (nonatomic, copy) CallBackIsHaveCommodity callBackIsHaveCommodity;

@end
